clean the js log snippet
yasnippet 0.9.0.1 change yas-substr API