Turning on Nashorn for benchmarking

(cherry picked from commit 54496f6f602b177b0e0a1168aaf55497a9b638bd)