React, JQuery and Smarty