Update extension.js

This might have broken something, not sure tho.
Merge pull request #8 from Gamefreak0/patch-8

Update extension.js