add str-reverse built-in function
fix indentation in exports