switched to minified version
switched to beforeChange