initial grab.js script