Changed to use local JS files