Clean up whitespace in various javascript files

Change-Id: I62fe370493b269618a0277ea06ed6ad22b97616a
Merge "Clean up whitespace in various javascript files"