Some functions which make handling avascript arrays easier