fix dev code cut in js