Fix grammatical error on JS helper warning message

Fix a grammatical error on the JavaScript helper warning message. The verb in this sentence should be followed by a gerund instead of an infinitive.