dodano metode router.on()

    router.on('change', function(properties) {
        console.log(properties);
    });