Change formatting to make JSLint happy.
Add autoSelectFirst option.