Added support for mobile browsers