safer raf.js and oninput.js
version 1.6.2