Updated for Cordova

Added callbacks for JS. Added progress callback to know when the user
starts, pauses, and stops the playback, along with the current position
within the file (for non-streams).