fixing a bug in get.js