Saving URL in the variable state
Refactored code and added new Jasmine library