Added test case
More tests and fixes
serverside js dependencies and clean up