Fixing non-loading of JS files