SDL2 node js mapping