Fix init.js to add productId into orders