Fixed mispelling of jquery (jQuery)
Fixed incorrect detection of missing parmsCorrected doc for center
functions to indicate they centering is relative to the window.
Added tests.