Pushing request data to JavaScript.