css and js updates

1) added purple
2) can set width and/or margin