added ctrl + j shortcut functionality on macs

on macs, the ctrl + j shortcut was not working with chrome, safari and opera. firefox was able to deal with it. I added the e.code == 10 to support the other browsers.