Zero the flood limit counter before running js command handlers

Fixes
  mwjs error: Script exceeded flood limit
  mwjs error: Error: error (rc -1)
1 job for master in 8 minutes and 13 seconds (queued for 3 seconds)