$(document).ready(function () { if ($(".orderFormSubmiter").length) { new OrderFormValidator(); } });