$live: improve variables, remove unnecessary if
Merge pull request #861 from Daniel-Hug/$live-improvements

Improve vanilla JS $live: variable names, unnecessary if