a 2d graphic game developing framework using javascript