make header smaller
Small improve in js