Bug fix for policies, moved request.js to work on shaping it into a plugin.