refactor some css and js for later general invocation
tablization trial