After Yeoman transition, updated and debugged JS