added jQuery interaction for reverse string