add ability to parse templates with no deps

If no dependencies (JavaScript files) are provided, then parse the
provided template
fix IE8 issue