Add settings object to head for manipulating init.js