In Sugar 6.5 CE, the external js in the editview was included like this:
'file' => 'path/to/file/filename.js',
But the estructure in Sugar 7.x has changed.
This is also addressed in a developer blog post that went live today.
Using Script and CSS loading plug-ins for easy Sugar integrations « Sugar Developer Blog – SugarCRM
JSGroupings Extension documentation
Retrieving data ...