reconstructor the bindEvent and Interval parts of front-end project