update height.js for mobile device