add compatible.js to js-snippet