updating how global scripts.js builds