Organize scripts and update javascript intellisense references.