Convert Java Script functions to extension

after doing a search in the community you could have found this extension

Taifun