use the native .src instead of jquery .attr for better performance of image preload