LPS-40398 Source format Javascript to use single quotes

Hey @mmoegelin

Here are some changes for LPS-40398. I did some source formatting. When I tried rebasing against master I got a merge conflict. Please rebase and resend. Thanks.