Added jquery fail cases fixes #9