made addStylesheet match addJavascript signature, added convenience function addStyle