Check whether node is installed or not
Handle Syntax error

When selecting some text, by default format the whole line.
Now in case of syntax error try to format the selection only
Fix on linux and update esformatter