Created url.js

This file does the url shrinking