Removed context paremeter to renderToString/renderToStaticMarkup.

Fixed whitespace after 'if' statement as per style guidelines