markup improvments and add basic tests for phantomjs
publish new version