rename firstReverse to be javascript compliant