Firefox Bugs fixed

Fixed some Bugs appearing with Firefox or other Browsers without HTML5
Support.