Updated grunt configs, added render methods for HTML and JSON