move shared files to shared folder
minor
add support for DOM
add compiled js
minor compile tweaks
compile tweaks