Update script.js

return if caller is empty