Simple JS program, inputs and alerts w. result