Update explib2.js

Remove a few lines
Land #3182, @wchen-r7's update to explib2.js