Adjusted method call to reflect changes to headscripts.js (reference/library).
Merge pull request #15 from ox-it/WL-2961

Fix WL-2961