Added auto-run js option