Remove some warnings from jslint
Remove unnecessary commas