Sidehistorik
...
This is pretty easy to implement, there are 3 parts:
Loading the js
...
file
Using a techinque like Installing Javascript libraries or frameworks in Confluence - be sure the js file is loaded (this can be checked by viewing source, find the js include and test the complete URL)
...