removed js-url dependency