Update validate.js (block timeout-like functions)

Block another functions similar to setTimeout.