replaced the loading gif with a data URI so there is no need for pre-loading.