update build filenames: *.js for production use, *.debug.js for debugging.