Added migration estimation workflow in JS

Working but missing error handling and more cool JS code