remove log2DArray function
add Jasmine test suite