add functionality autoSelectFirstResult

| Question           | Reply
| ------------------   | ------------
| New feature?    | Yes
| BC breaks?      | No

- fix CodeStandard (CS)
- removed using the $ function. jquery type to native function typeof