Why would anyone do that? Because on two recent cool devices, JavaScript is the ONLY option for open, unrestricted application development. Because making games in JS is a hack and a challenge. Because few people have pushed the technology to its performance limits yet. And because we can.