I have had this problem. In fact, there were a few of us Janome owners with that foot pedal problem. I will try to find the earlier discussion. It was very helpful, and believe it or not, I was able to fix the problem using a pencil eraser!
It's scary when the machine seems to have a mind of it's own.