Hollow Square Pattern In Javascript