cobble together dom manipulation in dynamic.js - not too good... would jquery use doms css?