MDL-35674 formslib: Optimized disabledIf javascript for large forms