main js file updated  to last work