Framework to create javascript games