Add js for generating component example list