Update extension.js

Okay, this is the last change and everything should now work... hopefully. I'll test it on my own room first if you want.
Merge pull request #7 from Gamefreak0/patch-7

Update extension.js