A barebones Javascript game framework