Merge pull request #8 from mattdrees/master

ability to add distinguishing CSS classes to modal divs
fix IE-handling code.  Previous code checked existence of 'log', but not 'console'.