javascript compare two strings for equality