javascript fix for questionario