add function

1.fixed bug about commit path error
2.add function about search content by javascript