check that jQuery is loaded before initializing froala
Update to 1.2.2.
updated from fork