Add braces for better minification and semicolons to improve readability.
Make the detect function reusable.
Move user agent tests and version matches in callback to improve minification.
Move user agent tests to if clauses for better minification and less function calls.
Add tests.
Introduce constants to shorten object property names and improve minification.
Move the versionNumber matcher to the matcher function to improve minification.
Add iPod, Blackberry, WebOS and Windows Phone support.
Add thousand and one tests.
Reduce amount of whitespace in banner.