cleaned up source, broke ajax due to parameters