send unique names only to API
added uglifier to compile assets; added mocha for mocking