remove anonymous function wrapper
bump version
revise test
add component test
Automatically rewritten for npm.