Move state to own file for tests
mocha-phantomjs
Merge commit '690362e9c6'
first unit tests
use a ready-made runner for running mocha tests
fixed the clear button text
merge from master