Pure JavaScript Port of WebKit