@teravest is there any of this JS code that can be centralized? i. e. is any of this used anywhere else?