minor style changes
flushed out javascript stubs