finished initial js