JavaScript function that takes "Hello from New York City" to "olleH morf weN kroY ytiC"