Checking for browser when loading materials

Blows up in server otherwise.