add add-code-to-head plugin