Fixing FireFox compability issue (#15)