Samsung galaxy sIII crashing on input 7

Samsung galaxy sIII crashing on input 7

I have a very simple app that converts units (jqurey mobile and phone gap). But it crashes whenever a user types in the number 7 in the input field (all other characters can be entered without any problem). While testing the app locally using Firefox or emulators, I see no such problem. Only when I transfer the apk to my (samsung) phone, the problem appears.  I changed the type attribute from number to text and then removed it altogether. Still the same problem. Here is the code snippet. The number is read from 'input-left' field. But the app crashes as soon as the number 7 is pressed before the goBtn is touched. I am a newbie here. Thanks in advance for your suggestion/help.
       
<div>
<input  id="input-left" />
 <label id="equals" >=</label> 
 <input type="text" id="input-right" /> 
<input type="button" data-icon="refresh" data-iconpos = "notext"   id="goBtn" data-theme="a"/>                       
</div>