add scripts to set focus on first input element