fixed comments.
1. moved the exists() method to application.js
2. added on hover tool tips for the new buttons.