Url encode any urls, also remove deprecated js
Refactor specs based on PR feedback