Prevent js task from failing