Added support for jQuery plugins loaded from separate script file