apdet js final