added loader spinner image while preview ajax loads