Centralize js