Updates to try and prevent crashes that were occurring and correct some V8 api usage
add a simple build.sh.