Update header.php

Move definition of `$options` earlier and redefine to avoid conflicts to
`$sparks_options`