Pointer Lock Controls not working

I have created a simple skybox map that I want to be playable using three js PointerLockControls but am having no luck getting the controls to work, also having trouble loading the images for the skybox, any advice? see my code here: Glitch :・゚✧ update: I have gotten the controls to work but having trouble loading the img assets in glitch