In the future we will have to come up with a better way of handling this. If the user wants to attach a class name to his 'body' tag, or 'onload' event, this will fail. 

Possibly solve it by sub-stringing twice, the first part on `<body` and then first index of `>`