Fix grunt reference and grunt perf

Try:

  grunt perf # uses node
  grunt perf --engine d8
  grunt perf --engine jsshell

  grunt reference --engine jsshell
  grunt perf --engine jsshell

The d8 and js executables need to be in your $PATH.