Added redirect to response.js

The function redirect acts like the redirect function in express.