more rails plumbing to get views working with jquery