Update custom.js for 3.0
Merge pull request #7264 from dongweiming/custom_js_3.0

Update custom.js for 3.0