bugfix if jQuery is not defined