How To Improve Algorithmic Thinking In Javascript