begin refactoring css & javascript