JBScrobbler is a project mainly written in JavaScript, it's free.
Chrome extension - scrobble to last.fm from streaming music sources
404: Not Found