cleanup, removed dom, css and other nonjs things