weak.js + fix