JS Console Error: "Uncaught SyntaxError: Unexpected string"

I’m encountering a similar error:

SyntaxError: Unexpected string literal ‘data/%s_%s_%s’. Expected ‘)’ to end a compound expression.

I didn’t try to customize the data filename at all. Did you find a solution to this problem?