Create portfolio section js code for auto generation