getting close to showing the attempts with javascript.