Switch to local JS for faster loads