BUG-14824 Function DynaformOnload not working in designer IMPROVEMENT

- Runs the loaded twice
- Delete call in class.xmlform.php