CRM-12854 fix

used cleanMoney fucntion to format amount consisting  comma.

also includes fix for cursor jumping issue mentioned.