support for older browsers added