Refreshing my knowledge of Javascript.