big tweak

added some javascript and process page