Added JS Unit Testing