Using spinkit to be added in js code