Switch to Grunt for built
use parentWindow for newer jsdom
cleanup most jsint issues