$(document).ready(function() {
  // do stuff when DOM is ready

});
