Some fixes
License from jquery-number