update selecta plugin
add javascript snippet
add new for snippet for javascript
use patience algorithm for git diff