Refactored inject_zeros component in Vislib

The current code for `inject_zeros.js` is a **hot mess**. This pull request cleans the code up substantially making it much easier to read as well as up-ing the test coverage to 100%.
What is this condition supposed to represent?