Add init and reload functions for Dashboard JS