edited headroom.js