Added first jasmine test for client code & converted first test for node...

....js code