parser & generators for tw as js components