Changed variable names of ones that hold jQuery objects. Chained method calls. Moved spanClone creating inside check for showing span.