formatting js properly

Cleanliness is next to godliness