how to enqueu customiser/customizer scripts?

after some research found that:

wp.customize.bind("ready", function () {});

is how to wrap the code properly to make sure everything is loaded before writing any algorithm