Quick dirty next-square js