Added basic log traces for JS and C