Fix for incorrect CSS/JS paths in template