fixed ajax rendering to leave blank with no string, and to just render partial instead of full layout