Adding support for non-ie browsers