A couple smaller fixes to increase compatibility

Removed trailing commas (which might cause problems in IE8) and added quotes around the "float" identifier, because float is a reserved keyword in JavaScript