Add tips handling
Add support of buttons
Update web demo
Fix set state (remove console.log & add try catch)
Complete analytics.js