started writing assignment js