Update persistence.js
Update jQuery UI and device detection to improve button responsiveness
Client cleanup
Code organization