fix if no options and no callback passed
Merge pull request #200 from Philmod/fix-setLng

fix if no options and no callback passed