Start fixing up issues related to closure compiler

- In order to use the advanced optimization method, some issues need to be resolved. This commit resolves a couple of them, but there are a bunch more issues that still need to be investigated.
Add no warranty clause