zorrox
Hi
Can you check the script output with default Joomla template?
As the scrip work depends if all style is there. on the example js fiddle site you have custom code.
Via script tag it will load the scrip in the source code . On JED there are different extension you can try as by default the modal plugin and module.
I will check the default model code if supported and update you.