fix js src attributes
build tweaks
listen to key events on window, rather than body