Added return so JS doesn't keep running