Fixes error with scope within loadbar.js
Merge pull request #24 from unknownbreaker/loading_bar

Fixes error with scope within loadbar.js