changed 'div.details' to 'div#details'
refactored portfolio JS and phased out generic 'inside' JS