HomeBase is a project mainly written in JavaScript, it's free.
A starting code base for a simple website.