refactoring
refactoring
clean
refactor with jquery promisses
add more implamenttions
work like charm!