Add javascript constructor blog