test record js - record, stop, play