Made app-state.js just return the app state. Thanks to Matt for the suggestion.