Added syntax highlighting for js snippets

You know... the kind of thing that @timoxley normally comes along and helps out with :)