Firefox v25 security error for insertRule

Firefox blocks access to stylesheets that are loaded cross-domain. Added
code to search for a local style. If a local style sheet isn't found
then the normal style tag insert is used.
http://stackoverflow.com/a/15233680

Tested in Firefox 25/Chrome 31/IE 11/Safari 5.1.7 on Win7
Firefox v25 object exception

options is undefined when calling modernBlink with out parameters. Fixed
using undefined check
Updated code to follow coding style
Adhere to project coding style