Update remote.js

Updated default behaviour: in case of empty string, now returns False