Remove eof newline
Missed a few eof newlines
A leading decimal place can be confused with a dot

Thanks http://www.jslint.com/ and some maximum awesome plugin
Use the array literal notation []
Additional JSlint fixes
Test locally using firefox
Additional jslint fixes
Merge pull request #7 from coxry/master

Code cleanup via maximum awesome