Fix formula editor loading properly:
We are supposed to set the formulaeditor options before we
include the script file, not after.