Make this work for different browser prefixes