A JavaScript module for tracking user action and behaviour on a single webpage