fixed chrome problems. Now have nice dynamic form works in Firefox and Chrome, yet to check if it works in IE