update request-pages js for options hash