Integrated js for shipping calculator