LPS-37846 Rollback ae214983e0824219ebb4f065df2883c855b (JavaScript error when accessing control panel if the first portlet needs to load implicit main.js file)