JavaScript AJAX

Removing certain functionality from JS class