One or the other, not both. You must change our the insteonserver.js file if you use the WS parent file for keypads.
I've heard from some that the keypad support works, but it's slow. I've heard from some that when you use the insteonserver.js file and the WS parent file with keypad support, that it doesn't create the child devices. The latter, I have experienced myself. However, I don't own a keypad. Had one for initial testing, but returned it when we were finished testing. Insteon keypads are not really my thing. I'm guessing (and this is a complete guess) that those that have it working have added devices with the two files that don't support keypads, so they get the child devices, then they swapped out the keypad files and got support for keypads. Just a hypothesis though. No way to test that without a keypad.
Maybe you don't need this for your keypads though...