Yes, that's pretty much it, but I think it needs to be an overlapping range or an average over n steps. Otherwise you can drift between a fast walk and a slow run/jog.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Run start would just be steps faster than 400ms say. Anything above 4pmh is probably running or jogging.