try to make dashboard work
update javascipt to add image item to content div
fix bug of javascript