Improve meesage and image display, speed and usability.

This method can be outside `$(function(){`