update script.js

add  Increase the empty judgment  ( parsed && parsed.dependencies )