Refactor: Removed all but one functions reference to jquery