fix prn on chrome
eliminate the need for require to be in the child env
Put compile code shared by webrepl into libcompile
add webrepl