Very weird issue this - never seen it before. When I access Structure in the control panel I'm getting javascript errors because something is cutting off the end of the Structure js files that the CP is accessing via the following type of URLS:

`/admin.php?S=0&D=cp&C=javascript&M=load&package=structure&file=structure-collapse`

Basically the end of the JS file is being shown as:

`})(jQuery`

rather than:

`})(jQuery);`

which is what the actual file has. So it isn't an issue with the Structure files not having been uploaded properly.

I've even tried reinstalling on another server, but same issue. I've also upgraded EE to the latest 2.10 version and installed the most up to date Structure version. Same issue.

I'm running on Ubuntu 14.4 with Nginx and PHP-FPM. 

Anybody any ideas?