Update after_prepare hook to match <body> tags which have no attributes

This fixes issue #74 by adding a non-capturing lookahead which matches either a space or a '>' after the \<body\> tag.