Update tips.js

Issue #551