#1281 'cmd-d' in the js panel now deletes the current line.