switch JS to using branches file instead of tags