Fixed bugs with build.js that caused the current browser tests to break.

Also fixed two small results for FF34.