updated external.js