added ajax support. started cleaning php2less.php