Various clean-up, add Makefile for running tests and compiling to JS (removed CS dependency)