small fix.js