The browser object let you have a "User agent" expression which represent the type of browser the user is using.
I don't know what you mean by weird (unless maybe some strange things in the collisions masks from time to time) by it is far from slow for me.
Are you using FireFox 7.0.1 ? Are your graphic cards drivers up to date ?