Removed extraneous comma that broke IE7
Couple of semicolons added and removed per jshint's instructions.