LPS-40398 Source format Javascript to use single quotes

https://issues.liferay.com/browse/LPS-40398