change api: separate dom element creation from triggering click. resolves some nasty browser issues
added templating
docs
docs
docs
Merge pull request #8 from component/refactor/api

Refactor the API