Bug Fix: Fixed javascript to read textbox values.