consolidated js for system view