js proto pt2