Having trouble porting Javascript libraries to Primefaces

I'm trying to port Cesium to run as a web app in Tomcat. I'm also trying to use JSF 2.2, and Primefaces 5. I don't know what directories/files I need to port into my war file structure or where to put them.

I receive the following errors:

If I try to include the require.js module:
Error: Mismatched anonymous define() module: function

If I try to include the cesium.js module:
ReferenceError: Cesium is not defined

I'm trying to use Firefox as a browser.

Any help would be appreciated.

Thank you!

Tim Dieterich (tdieterichjepp@gmail.com)