check that jQuery is loaded before initializing froala