Update main.js
Merge pull request #19 from Denisov21/patch-3

Add keyboard support!