market.js fix