added jQUERY to reverse string and filter word length