Fixed undefined varriable error

We were getting ```parser' is undefined fragment.js``` on IE so this fixes that error