Compile Scripts

Moved setup functionality into badgeNext.js