used URI.js library for creating urls