some cases for javascript debugging