finish with javascripting