fix cross-domain, fix jquery, remove callbacks.js, make alice.js to be a more functional way