fixed jquery compile error