Placeholders for regression tree JS API; plus minor fixes