Fixed error in literate of styleshees where href can be null

Sorry for the inconvenience ( 1 tap vs 2 tap)
Line 54. Since Stylesheets Href can be null i have added a nullchecker to secure the script from braking other stuff :)