Improved jQuery code
Fixed sphinx syntax