systrace: check for errors when compiling JS

Change-Id: I0daba4b5977734ce819451dd9200317d7e0c4ca9
1 file changed