Formatting changes

Fixed errors that were being returned by JSLint