The 'Add to head/Add to footer' sections of the FEST template is not accepting single quotation marks - it converts them to the ASCII character &039; - I have not tried this in other gavern WP templates, but it could also be an issue there due to the underlying framework.
If you know what to do, it's easy to replace all the single quotation marks with double quotes (swap ' for ") and then the JS works, but if you copy/paste a google analytics script etc etc then it will not work as these use a lot of the single quotes.
Please update the Theme / framework to make sure that all characters in these sections are passed on correctly rather than converted to ASCII.
thanks.
Aj