fixes #493
added cdn local fallbacks for cdn assets
created new arrays for defining assets, makes changing easier and they can be moved around in core.