Add Util method for loading a script file

Test Plan:
- None
Minify new topic trees after they are downloaded

Test Plan:
- Make sure loading the app with no storage works
- Make sure loading the app with storage works