More JS like implementation. Gotta use those scopes
Make sure pointer cursor is shown in tree links