fix jquery not defined