Yes, there is a missing "include" or import of the necessary libraries and those js errors will surely prevent the client context from showing up. How did you go about copying the site, did you get all the clientlib configurations right? There might also be something else (js-related, maybe your own...