Readability & size improvements for JS constructor

One line per asset instead of normal 3; 50-70% fewer bytes per asset declaration.
Merge pull request #65 from YellowAfterlife/patch-2

Readability & size improvements for JS AssetLibrary