assignment JS editor mongoosed with DS, DS acts as AS