Proper html script for $heading var -- fixes #1