modified variables to match index.html
modified form to match the new jquery plugin, yet trying to figure out how to make it work