JS: Minor changes to types to make compiler happier.

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