comp js