Updated grunt build files

Updated grunt build files for current version of grunt
Minor bugfix for Firefox

Fixed a rounding bug causing trouble in Firefox