commented out javascript bug throwing soft errors