add js build
jscanvas tests and code
added java code and test