change to add defer for older browsers