Added browser compatibility check.