fixes ie8 issue on OnPrevent event, add logics for playground section