Small tweak for js loading