Missing semi-colon in js preventing headers option from being set

Headers option was not being applied due to missing semi-colon in javascript.  May work in some browsers, but tested in Firefox only.