Refactored to use cached jQuery elements in Views