Create some directive from JQuery Scripts