Added tree collection search to compiled js