add JS callback example and update UI/process examples