Update looplayer.js