STORM-80 - Fixed issues while integration testing js file