A JavaScript Game Framework