Update extension.js

looking glass throws error "this.actor" is undefined