Javascript code allowing a user to compare two numbers.