refactoring and preparing for using scalazjs-react
starting to move to scala-react. found odd bug