fix Unexpected token ILLEGAL error on windows