js required decorator finished