simplified loading of js