fix stats alignment
add simple test
handle pending tests
use trim module for ie8 compat
fix test for IE
remove ie7 code
Release 0.3.1