添加函数节流

代码自于 腾讯Web前端AlloyTeam
http://www.alloyteam.com/2012/11/javascript-throttle/