Global naming bug fix

Moved fileTree extension to the class inside to prevent earlier loading
than jQuery library loading.