Remove errant .shift() in build.js

That was a really dumb mistake. I have no idea why it was there.