JS: Minor changes to types to make compiler happier.

git-svn-id: http://libphonenumber.googlecode.com/svn/trunk@725 ee073f10-1060-11df-b6a4-87a95322a99c