New version without the visualforce page

moved everything to query string variables on the js file