Boilerplate example can now be toggled.
Added util.js to contain various utility functions. Added a fix for showLinkLocation() so that the link text is only output once.
Inverted the if statement for clarity.
Added string.contains and modified the if statement again.
Added ternary expression.