Fixed example and removed jquery dependency.