A minimal Javascript game framework