Added json and console js externs