Add #89 JavaScript solution