updated:
isHappy plugin. added callback function and closure