compiler: use logging instead of print
compiler: js_view_metadata annotation