avoid exception if stylesheet content cannot be found; instead throw warning on console.