Solves issue with KeyModule line not working

When this KeyModule line was crashing my browser, I searched about and  saw some comments about concerning this 'KeyModule' and deprecated etc. It appears the same operation can be done without the KeyModule.