change version to 0.6.0-beta
minify code