add concole to js