Check if hljs is defined

Really fixes #107 and #108
Merge pull request #110 from barryvdh/patch-5

Check if hljs is defined