Code Review pull request

Consider putting these variables in a namespace. For example if you had 
```var moduleState = {}; ``` your later references could be along the lines of ```moduleState.currentSentence = blah;``` This would make it easier for the reader to distinguish between the state of the view and local variables inside single functions.