Fix js error on preferences

* the backbone view is rendered several times (on addView to the Router
  and when getting the request response)
* calling render with an empty model causes this error