The first thing you need to do is go to your
And register a new application. Once you have done that, Soundcloud will give you a "client id" for that application.
Open the project for this example, you can download it here
If you double click on the js object, you will see the JS code
Enter your Soundcloud client ID in line 8 of the JS code.