Keyboard allowed keys crashing program + not allowing .js creation

I think variable allowed keys are allowed locally.

Please could you show a screenshot of your routine and keyboard component?