add globals pass
remove debug
update core js