Started working on Assets.js.

Refactoring and cutting out stuff I don't need.