Fixed up some errors. Trying to get hidden fields in markup instead of in JS
post code review pt2