un-nesting route references, trying to figure our how javascript gets called in rails