Fixed template loader
Everything works in only one html file now
Everything works in only one html file now