Fixed a mistake in composer.json homepage
Added a check for AJAX, which will turn it off if ajax is on
&& to and
Added check to see if still enabled before output