Use underscore JavaScript library to fix execute once in per second.