Problem with using PDBLoader module

Hello, I have tried to make a small example to show simple details about my .pdb file like this website on the documentation:
https://threejs.org/docs/#examples/en/loaders/PDBLoader
However it keeps giving error with CORS (Cross Origin error…)
Can someone show a better example of how to use it?

  • Edit : Whoever counted this as lacking details, My post is very clear: It keeps giving me error whichever syntax i use! I just need someone to show me a working example how they got the code running and rendering a pdb file from their choice! that’s it!