First implementation of JSTree