added null check in inject() method for passed in CSS string