Simplified changes and updated js fix to avoid reloading client browser upon clearing error