adding javascript to change size and color