LPS-47514 Enable SPA for layouts_admin portlet
LPS-47514 Removes no needed javascript code
LPS-47514 Moves the URL to place where it is used