For a custom java script I needed to put the following PHP code into the functions.php file in order the script to work (I\'ve done this with the help of a "Code snippe