Use requireJS for Portlet