Fix jslint error

Fix JSLint error I introduced recently. I added a JSDoc annotation to the function to make up for it :)

@JeffryBooher This fixes the error you showed me.