cleaned up portfolio js