like function for inpirations with ajax