Fix a big bug in UrlEnhancer.js