Javascript koans solved