javascript main configuration spec