moving c2 to root and unwrapping main.js