Update script.js

added WIP function and removed IdToFill