Testing centering without jquery