Added getRequest to script.js