Fix widget js files to only call runtime.loadClass(...) in the setup method, not at definition time