Add dummy DOM library

Add dummy DOM library for JavaScript generation.