add build script, use component API, jshint; add docco npm script
adapt path to build output, remain origin build path