slight update for a javascript error