File errors and updated build.js