Update url.js

Fix double '//' in menu and title links when config.root is not '/'
Please use `===` instead of `==`.