Fixed #33

Now properly creates multiple arguments in one head.js call instead of doing multiple head.js calls.