copied JS code from the old project
styling folder list
sprinkle JS with promises for all Async stuff. Probably I overdone it but Promises are kinda cool :)