A little bit of tidy up and refactoring and changed to CDN where possible.