default to js if nashorn not found