fixed issues with jquery

same as above!