fixed for uploading to appfog
fixed survey url
fixed many issues with jquery