browser game framework on rails and crafty