change javascript name to ajax