Added browser compatibility check