js bug take 6