Updated webfont loading flag functionality

- setLoadedFlag function now takes delay length as parameter
Minor refactoring