Update src/header.js

Prevent multiple instantiations of the plugin