Properly initialize jQuery with the window