Youtube-Instant is a project mainly written in JavaScript, it's free.
My own version of Youtube Instant.