JS Tests compiles and links in Mac

...but it doesn't work yet due to a bug with the touch events :-(