add search option,usage, split function, add jshintrc