JS koans answered