loads modules from script tags