Radiolab-Soundcloud-Popcorn.js-Demo is a project mainly written in JavaScript, it's free.
A demo that uses the Soundcloud API to retrieve audio and data, jPlayer to play the audio and Popcorn.js to trigger events at appropriate times.