Unbreak test_qmljscompletion js_skip_separators
Skip the trailing comma, otherwise the document for the trailing identifier fails to parse successfully as it would then start with the trailing comma.