Add js2-refactor and error handling by flycheck
Add tern completion