Tweak JavaScript buffer options; add C-a for command-line editing.