Move jQuery references to view elements out of the model