Javascript unit testing framework

added headless library for testing the services
added sample javascript test
added library for mocking the javascript requests