prepared init js files for each of pages