Modified server.js to properly handle CORS (cross site) data.  Also updated script to properly generate a POST and send it once page is loaded.