What is difference between Callback and Promise in Javascript with example