refactor photo box
refactor basic javascript code
refactor stylesheet