Beginning js refactor
Leveling logic w/angular