added js to close content boxes