Update jBox.js

Minor bugfix for Firefox