Fixed a sugar.js issue that breaks firefox
Merge pull request #718 from isuftin/master

Fixed a sugar.js issue that breaks firefox