added a method to discover mobile browsers
fixed a possible bug