try loading loader.js first