Remove invalid.js. Make errors where the happen.

Taking https://github.com/mapbox/mapbox-tile-copy/pull/7 a step further. This will make the stack trace and the source of the error more clear.