Chunk 2 failed - HTML/Java widget error?

Hi, I have written some html and javascript code that I have embedded on a page. It works great when I simulate it in “Hybrid Phone App online” but when I run it in Mendix App I get “Chunk 2 failed error” in HTML as below. Does anyone know what the problem is and how to solve this?  
1 answers

Things Thomas may have done to get this solved:

- remove the HTML-widget from <projectdir>/widgets and re-imported it from the marketplace

- in the browser opened the inspector (F12) and checked out console for more details on this error