rebuilt the browser detection method
refactored instantiation so it doesn't create objects it doesn't need and then immediately delete them, removed a deprecated param from Detect.Browser