Improve test/tests.js afterEach hook
Add final deploy script
Update cdn check for widget