changed hardcoded url to dynamic
Merge pull request #135 from voisardf/jsurlfix

changed hardcoded url to dynamic