I don't understand the steps they describe in the website:
Remove the HTML entry point file.
Create a Canvas object manually from JavaScript. If needed, substitute document.getElementById function calls by document.createElement("canvas"); or new Canvas();
Put all your JavaScript in one file. Your whole JavaScript code should be in just one .js file.
Create a zip file with your JavaScript file and game assets. The current version of CocoonJS only loads local assets.