Add dump snippet for JS specs