A simple port of the "Getting started with GLFW3" code to valid code for Emscripten compilation