only require jQuery if loaded in browser