jocos2d prototyping wrapper ported to coocs2d js