- Added $(document).ready(function() { ... }) around view-actions binding to
  HTML elements, to ensure DOM is loaded before we try to attach handlers;