Fixed bug that caused error when pressing any key that was not up or down. Also a path fix to the JS file.