Bug ZK-2507: Some portlets deployed to Liferay 5.2.3 cause JavaScript errors