Add #99 JavaScript solution