Added some misc js and formating 

Change-Id: I723698145c5420f35407c185d2e3fc3c4b80a7e9