new JavaScript / preparations for diagnose form