Move constants in Header for js