just finish my javascript