added on index and updated jquery