added an extern.js file