fix jquery bugs
Merge pull request #96 from Ank13/bug_fix

fix jquery bugs