workin on behaviour loading and added in a library to build javascript behaviour trees for sprite AI