       @changePage "#list"
 
     refreshFieldSet: (fieldSetName) ->
-      if @formFields[fieldSetName] isnt `undefined`
+      if @formFields[fieldSetName]?
         @fieldSetName = fieldSetName
       else
         @fieldSetName = "default"

        request = @createRequest(url: url)
        projects = $("#projects")
        ajaxRequest = $.ajax(request).done((data) =>
          ajaxRequest = `undefined`
          projects = $("#projects").empty()
          for val in data
            @projectItemAppend val

define ["backbone", "underscore", "toastr", "jquery", "jquery.mobile", "jsrender"], (Backbone, _, toastr, $) ->
  log = (message) ->
    console.log message

