added a semi-solution to css and js