add grunt, phantomjs, unify code style