For adding additional JavaScript files https://github.com/tomahawk-player/tomahawk/pull/170 adds a new method where you specify additional scripts in the manifest.json