add jquery to reverse string problem
added unit tests, mocha and chai