I can't take this animated banner directly from Codepen. I think everything is properly linked so why won't it work?

I found this cool little HTML 5 banner on codepen and wanted to play around with the javascript. However when I transcribe all of the code 'as is' each into separate docs in a common folder on my desktop none of the .js functions seems to be working. I think that either there is a problem with the .js file or that it is not pulling the TweenMax.min.js library properly. I tried downloading the library and placing into a new file on my desktop but no luck. Neither the url or the file path seem to be working. Below are examples of how I linked all of my files. Does this make sense? Can anyone please give me some advice? It would be much appreciated.

It seems like you have the script trying to execute before both the TweenMax library is loaded and DOM is ready. Try the below html making sure that the codepen.js is the last elements in the body tag to make sure it is run last.