Added ability to include custom javascript (e.g. for google analytics)