Fix whitespace issues
Add tests from Functional Javascript

The last one is not passing
Remove semicolon that made curried functions fail