var page = (function($) {
  
  function showUpdateBox() {
    $('#update').removeClass('invisible');
  }
  
  function init() {
    $('input[type=text]').keyup(showUpdateBox).keydown(showUpdateBox);
    $('input[type=checkbox]').change(showUpdateBox);
    $('select').change(showUpdateBox);
  }
  
  $(document).ready(init);
  
  return this;
})(jQuery);
