JS Mistakes, formatting issue