Fixed #43 where including the script in the head of the document meant that  is  and an error is thrown when creating a new Sketch without a container