Updated comments, formatting, JSLint

Updated comments, formatting, JSLint