Add Javascript mode to quick scratch buffers.