finish js ports