Add yasnippet and js mode