Try to clean up your userlib folder in your application directory for duplicate files (older versions)
Do you have hard references to does files in your index.html (in the theme)?
It's best to use the new index-example.html (from the deployment/web folder) as a base for your index.html.