add .init() method
add docs
add minified version
bump version to 0.3.0