adding checks js files