javascript problem fixed