Corrected not well defined callWhenPostValid in js that was preventing good behavior in not tolerent navigators