Fixes for changes to gopherjs/js