Restore geckojsc origin for sdl2