Added the javascript for the sizes
Extended the JS code to work with both the sizes and color blocks