Add comment to clarify javascript.