Reformatted redirect.js to match indent style