fix jQuery is not defined