a script for browser & os detection