Improved beatsmusic.js. Results contain proper duration value now.