Fixes for Mozilla browsers