-replaced hadcoded jQuery`s ajax call with plugable request