[BUG] Fix bug when use with jQuery