It works normally with mysidia once you get the hang of it, including jquery and ajax (though ajax is a bit more awkward if you don't use the widget option,
like Kyttias does). If you want to put the js code in the .php pages, use Comment() objects, they take html and javascript