Adding jQuery bindings where needed for element selection