updated jquery version and fixed bug