correct removal of redundant jQuery call