 # Fetch a document from our couchdb instance
 fetch_data = (url, callback) ->
     get url, (xhr) ->
-        if xhr.status is 200 or xhr.status is 304  
+        if xhr.status is 200 or xhr.status is 304
             data = eval '(' + xhr.responseText + ')'
             callback data
         else



# Inject CSS into DOM from template
inject_css = (target) -> 
    return if $("#MSWidget-style")

    style = document.createElement 'style'

    if style.styleSheet
        # IE
        style.styleSheet.cssText = render("widget.css")
    else
        # Other browsers
        style.innerHTML = render("widget.css")

