Javascript redirect
Merge branch 'master' of https://github.com/jmguilla/shortener
Direct redirect if request is xhr