some javaScript homework