Update header-shrink README

refactor code samples