Made example page work in IE

Added a check for console and profiler to make sure the examples work in IE. (IEs console does not have a time method).