Here is the answer
The file you’re seeing should be the same file with an MD5 checksum appended to the end – this allows us to set an infinite expiry date on the resource and ensures that the browser cache will never contain stale data because if the file contents changes the MD5 checksum will change and the browser will be forced to request the new version of the file. Surf caches the resources more aggressively than ever before so you may need to click on the “Clear Dependency Cache” button on the WebScripts home page to avoid restarting the server.
Other possibility is that you will see file names as *-min.js means all included script file names with pattern having “min.js” appended in end. You will again wonder, what is this?
These are minified, or compressed, to reduce the size of a given page and increase client-side performance.
Generally in development environment you want to use non-minified version of file to test your changes rapidly without server restart. To achieve that you need to add following entry in your share-config-custom.xml
Share page in Debug Mode
- See more at: http://blog.arvixe.com/alfresco-share-min-js-file-and-dependency-cache/#sthash.aIOEWDIX.dpuf