edit to create js erb
new form
debugging. remembering why I prefer javascript scoping to ruby scoping.