added main js which fill the main list