Initial population of JS and IMG files