Initial import

This is my first push of code to GitHub, made as a pull request for easier review
Actually, I just removed the `if`. The only place to change the value of `preCacheItems` is the `precache` function, which already ensures that it ends up being an `Array`