Moved the 3 main tree stores into Javascript