portfolio main JavaScript