Added the initial version of the custom javascript code.
It probably doesn't work out of the box