create javascript starting code