The game 2048 ported from Haskell
Added an interface for manipulating the canvas HTML5 element as well as some general JavaScript functions.

I use these for the games that I'm writing/porting from Haskell or other functional languages (so far a Breakout clone). This interface will be improved and extended, meaning I'll add some more functions and make using those present consistent. I also increased _yieldGranularity in jslib.js to 325 for testing.
Work in progress version of the Breakout clone I'm implementing.

I also ported a small coroutine library (still working on it) to make it work. But I ended up not exactly using the coroutines as I should. Once I sort out some problems that are still left and understand properly how it should work, I'll do it properly. For it's ok for testing.