LPS-47108 Move portlet.js to module