Java Script class # 2