Fixing spacing on javascript.