[misc] Better support for URLs inside JavaScript (especially relevant for Portlet mode where concatenating strings isn't a valid way to obtain URLs)
Updated the parent to 5.2, added missing parents and missing license headers