LPS-42439 move more code from asset_publisher/init.jsp to improve performance