Break at the beginning of any function in javascript