Changed the javascript from GET to POST