changed capfy file to the root js folder