Refactored loop to create dendrites
Updated _getCoords method

Renamed method from _getCoordinates
No more use of jQuery