Changes for javascriptcore, debug warnings and fixed errors