Made it work in Firefox