From https://github.com/DaRaFF/jsgamewiki