Improved build.js for new playerglobals