updated todo
updated script.js in an effort to create my own library. WIP