after dojo: factored out js/css into external files and cleaned up indentation